Fourth Chapter XML syntaxOutline:I. XML syntax rulesTwo. The syntax of the elementThree. Syntax for annotationsFour. CDATA syntaxFive. Namespaces's grammarSix. Entity's grammarSeven. Syntax for DTDsWith the previous three chapters, we have learned
xml| syntax
Fourth Chapter XML syntax
Outline:
I. XML syntax rulesTwo. The syntax of the elementThree. Syntax for annotationsFour. CDATA syntaxFive. Namespaces's grammarSix. Entity's grammarSeven. Syntax for DTDs
With the previous three chapters, we
XML carefully places the file or other data source and the abstract model of the XML document away. If you want to determine whether an XML document has been modified to compare two XML documents for equality, it can be inconvenient to compare a
Why to use an escape string.
,& in HTML has a special meaning ( for the link-sign,& for escape) and cannot be used directly. These symbols are not displayed in the pages we eventually see, so what if we want to display them in the Web page?
This
This article is a computer class of high-quality starter recommendations >>>> JavaScript programming: Fundamentals · PHP XML "Content IntroductionThe chapter Programmer's Library · JavaScript programming: Basic PHP XML is introduced from the basics
In HTML and XML, , & and so on have special meanings. (the first two characters are used for the link sign and "escape" characters. When these three characters are used, their escape sequences should be used, as shown below:
& Amp; or &
Zhou Haihan/Wen2010.4.11Http://blog.csdn.net/ablo_zhou
After Python 2.4, the @ symbol modifier function was added to modify the function, and the python3.0/2.6 added a modifier to the class.I now use the Python version, which supports the
The sensitive characters in XML are angle brackets, and if the value of XML contains angle brackets, then the parsing will be an error, such as:books>book >ID>1ID>name>three countries <>play >play >Yiname>price >4<>5price >author>Luo Guan
Xml
HTML
the escape character in
HTML, >,& and so on have special meaning, (the first two characters used for link check,& for escape), cannot be used directly. When you use these three characters, you should use their escape sequences, as follows:
From http://www.cnblogs.com/jialine/archive/2006/10/12/527736.html
HtmlEscape characters in
, & And so on in HTML have special meanings. (the first two characters are used for the link sign and "escape" characters. When these three characters
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.